Fix the route reversal helper to allow for empty paths/'home'-links