Make the injection of '.{format}' into the root path component optional