Better error message in is_auto_path

There is the possibility that a Pipeline configuration in Shotgun is deleted so that the config on disk points at a non-existent entity.  Right now the message raised by is_auto_path when this happens is that 'NoneType' object has no attribute 'get'.  Raise a more specific exception in this case.