don't silently exit in cli-mode in case ownCloud in not yet installed

fixes https://github.com/owncloud/core/issues/9629
:+1: I was about to suggest that.