#173274 by Desbeers: treat <front> as the empty path, when adding path prefixes, so we get the proper result