I've created a branch that I believe fixes the issue and gets things up and running again.
Could you please apply it to the moodle.org clone and give it a whirl for me. If you're happy with it then it should be good to go.
The branch is on the moodle hq repository now and ready to go
I should note it functions a little differently to how it did before.
Previously if you did not have any courses you were actively enrolled in it would show you the courses being displayed under the "Courses" branch in the navigation.
Now it won't show you anything.
I decided that it wasn't of great value (most people are logged in anyway right) and it would add complexity and database interaction in order to load a collection of potentially useful courses.
As for the tutorial I will update that on Monday now.
Hope thats all ok.