Bulletproof project gemset link creation against certain circumstances
while protecting against creating (useless) nested links!