Yum.lns: Make combine_* functions more generic