handle the case where requested resources are relative to the cwd

The server cannot find resources with relative paths that contain '..'