verify_dotfile(): do not assume '/' is the path seperator