
When creating a new object from file, a AttributeError is raised. This is caused because the sdk does not return anything when creating an object from a file. With this change, the `_create` function will always return an object. Closes-Bug: #2061604 Change-Id: I34cefd1bb10c6eef784e37d26122e5ed2c72488d