Drop printing usage on error.
Handle branch being None.