Fix reading resources from command line issue

Now --config.resources./<customFolder> items passed from the command line
are read correctly.