infect: Fix inconsistencies with symbolic links