ENYO-2899: do not switch to absolute path unless mandatory