add ignore pkg name uri check in get module real path
fix test case: output dir not defined bug