GUI-1285
used conditional import to fetch proper magic package on centos
added specific exception to import try/except
Merge pull request #1014 from eucalyptus/GUI-1285

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