validate branch non exist