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

fixes https://github.com/owncloud/core/issues/9629
now that we have an else block, can we invert the if condition, swap the blocks and get rid of the negation?