[bug1167191] - Added proper symlink handling when tarring

The problem described in [BZ#1167191](https://bugzilla.redhat.com/show_bug.cgi?id=1167191) is caused by wrong link handling when tarring.  

//fyi @mfojtik @csrwng 
group these `var ()`