Fix invalid regex if mountpoint has . in path