It looks like organization is set to None as default and then handled in the create_repo call to core.