Add function to get output directory package path

Add missing getOutputDirectory function (closes #3).