Removed unneeded hasPath flag.