normalize previous source for rename detection across commits