check for blank instead of just null
Merge pull request #20 from CloudifySource/default-branch

check for blank instead of just null