Change to deal with .path files containing hyphens, eg apt-get