Return an error from askForConfigInfo instead of using panic

This will just print out the error message for the user instead of the stack trace panic creates.