removed 'key == null' comparison from 'if' in 'model.save'

Removed an unnecessary comparison from the `model.save` function.