Return nil from `Branch#get_property` if empty

Previously returned an empty string, which felt a
bit unexpected.