branch: update warning message shown when copying a misnamed branch