Fixed NPE in recursive zk:create

Fixed another NPE in the `zk:create`. It was similar to the one I fixed in my previous pull request, but this this recursive creation was affected.