Fixed a NullPointerException when Home returns null.