getModuleBaseDir uses dirname of package file