Fix broken upgradestep 1707 if no workspaces exists.
Merge pull request #47 from 4teamwork/es-fix-upgradestep

Fix broken upgradestep 1707 if no workspaces exists.