Avoid 'file not found' errors on rebase.