Extracted function to add path to exports only if it is configured.
Extracted function to add path to exports only if it is configured.

m-ober/byceps,m-ober/byceps,homeworkprod/byceps,m-ober/byceps,homeworkprod/byceps,homeworkprod/byceps