Fixed a missing this for safeGetPath