Only modify fork/clone if necessary.