Don't fail if user has no HOME or XDG_CONFIG_HOME
Display more information in the warning message.
Merge pull request #2689 from mdboom/config/no-home-variable

Problems importing astropy when running inside Ipython Notebook