Setting error message if no home defined