Add function to get output directory package path

Add missing getOutputDirectory function (closes #3).

(cherry picked from commit 7e63dad984259f63553c0fe2a6306d89afdc71d9)