Prevent errors when no languages is defined in config

Signed-off-by: Daniel Bondergaard <danielboendergaard@gmail.com>