for some weird reason calling with the full path returns an empty string on build slaves - but works on my machine (tm).

maybe some issue with slashes.

Tested on Katana and worked (branch unity-staging).