Improve call to import pyraf using a context manager that temporarily changes the directory to that of repipy.