Updated directory being passed to mapDirectory after updating the path to
include the full namespace path