in cli mode return true for isHtaccessWorking

minimal fix for https://github.com/owncloud/core/pull/11569

cc @DeepDiver1975 @nickvergessen