updated a few uses of "/opt/xpkg" to use the getPathWithPrefix