Remove absolute path to sudo in framework code as causes failures on travis ci hosts