I assume there's no instance in which the boolean evaluation of a legitimate value can be False.
For these types of conditionals, I tend to prefer:
if kwargs.get(OPTION_WHOLE_REPO.keyword) is not None: