Allows sub-uri deployment

With this patch you can install foreman to sub-uri like this
```
foreman-installer --foreman-foreman-url="https://example.com/foreman" --foreman-proxy-foreman-base-url="https://example.com/foreman"
```
Why doesn't this work on a suburi? It's based on docroot, not file paths.