Fix existing Driver.is_me's crashes if path is a directory.