Allow subpath installs to work with purl paths and domains #2271