remove /app subfolder; support bundle tarball path