pmd: fixed #1068 CPD fails on broken symbolic links