Fix bug with register task with "null" parameter.
Merge branch 'origin/develop'