Fix handling of relative paths in thin archives.