Steps of reproduction:
1. Create a Site Template ("TST").
2. Add a Wiki to this page.
3. Create a User Group ("TUG").
4. Set the Private Pages to TST.
5. Assign yourself to this user group.
6. Click on Go to -> My Private Pages, and click on "home". It works well.
7. Go back to your site template ("TST").
8. Click on the Wiki's Configuration menu.
9. Go to the Scope tab.
10. Change Scope to Select Page, and change Scope Page to Current Page (home), then save it.
11. Click on Go to -> My Private Pages, and click on "home". There will be an error message on the screen:
"Internal Server Error
An error occurred while accessing the requested resource.
and an error in the log. I attached it.