Fixes #5989 - Fixing puppet repo sync check BZ1102826