checkout: improve error messages for -b with extra argument