Needed to strip leading dots in some paths.