minor syntax improvement
fix handling of bzr return values