Combine getPathInfo()'s params params into one param

This makes it consistent with getPathInfoFromManifest()