don't silently exit in cli-mode in case ownCloud in not yet installed
reorder if statements to remove negation, indentation correction
Merge pull request #9843 from owncloud/dont-silently-exit-in-cli-mode-master

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