I'd prefer `if path.empty?` here, which is the opposite. `unless` with blocks always make me do mental gymnastics. I know it's only bad form with an `else` in the style guide and there's no `else` here, though.