It looks like this function actually adds an export section to whatever the ``parent_section`` is, and this function does not care if that is the repo section.