Fixed failure when getting reads for a URI with an empty path.