Fix astropy/astropy#2418 -- fix crash in smart_resolver when lookup fails
Merge pull request #33 from mdboom/smart-resolver-fix-crash

Fix astropy/astropy#2418 -- fix crash in smart_resolver when lookup fails