modify import_by_name unpacking for sphinx >= 1.2.3