initial helper for optional host_directory
Fix to not show error message for missing github token when user comes in for the first time.