Correct if statement that comments out source repositories