metadata: replace %subdir hash with a path field in source packages