Fix broken unit test

Not sure what the best solution is - .not.to.be.a.path() will pass when
looking at a broken symlink, which we don't want...