Fix target path grabbing the --cache-control string