Refinement on @ukd1 's fix. Only matching at the beginning of the path.
Version bump.