FIX Making path names consistent

I've changed the variables to use the absolute path as the path is unhelpful for debugging and this is more consistent with the other lines of code below
Merge pull request #2025 from dhensby/patch-1

FIX Making path names consistent