making director use last path mapping as the default if no other match is found.