Mirror unlink logic when checking for linked keg-only formulae