Fixed issue with empty homepage URLs causing weird default URLSegments.