Fixing parsing of lists passed through use_module remine #2239
(cherry picked from commit 6173222bcb6c90e16f84ce8e75505826aef87160)