repl: introduce trans_rpmdeps_to_pkgname function (just converts deps list to target), rewrite print_target_buildreq with it