Can we send the path back with the exception instead of the full error message to make it consistent with how the exception is used. Additionally, I see no cases where `len(e.args)` will be 0 so I believe you can remove the try/catch in this function altogether and just let the `PathNotFound` exception bubble up.