GUI-1285 try import the python_magic package (for benefit of linux)

https://eucalyptus.atlassian.net/browse/GUI-1285
This line should be `except ImportError:` for PEP8 compliance