detect app name from directory when getPackage doesnt return a PEAR_PackageFile_v2