Fix a crash if the homepage is null introduced in 2.0.1. Fixes https://redmine...