ensure non standard prefixed locations follow the usePrefixes config flag.

fixes #1242