try/except for relative import