core.sh (translate_exec): fix when providing executable absolute path