Fix reformatting check to only take src into account