catch importerror on pbr