Temporary fix for bad subsite selection code

Had to replace hardcoded 'front' with 'public' just for my app. Will
revisit this to have this generated correctly when site other than
'front' is chosen as the default.