Fix failing test when homesite is not defined