check PACKAGE_FILE first, then check if MANIFEST_FILE