attempting to fix control flow problem in logic to disqualify certain files from the local repo