     info = []
     for i,p of paths
       info.push [{path:i,inConfigSchema:p.schema,inConfigFile:p.file}]
-      where = if p.schema then "schema at #{@configSchemaPath}" else "file #{@configFilePath}"
+      where = unless p.schema then "schema at #{@configSchemaPath}" else "file #{@configFilePath}"
       console.log "[CONFIG CHECKER][ERROR] Inconsistent configuration at path:#{i} not found in #{where}"
 
     process.nextTick =>

nodePath        = require 'path'

class Config extends EventEmitter

  constructor : (@path)->
    @emit "start"

    @configSchemaPath = nodePath.join __dirname+"/../../config/config.schema.coffee"
    @configFilePath   = nodePath.join __dirname+"/../../config/"+@path+".coffee"

    return @check()

  check: ->
    normalizePathForSchema = (path,p=[])->
