Refs #10618. Fixing cppcheck warning.
Merge pull request #77 from mantidproject/bugfix/10618_cppcheck

Fix cppcheck in ConfigService.cpp