The 'populate' function returns NULL if a wrong namespace is given

If a wrong `namespace` is set in the model description, the `populate` function will return `null`.