Simplify the #to_path code
:lipstick: