[minor] Do not force developers to add a leading / when using a custom pathname