[EFL] Fix inappropriate move semantics use in parseAndRemoveEnvironments function