Update model-key.coffee

added empty check