Fix for “Error: TypeError: path must be a string”

Fix for “Error: TypeError: path must be a string” when using requirejs
(removedCombined = true) during compile