Fix typo in get_primary docstring.