Fix for https://github.com/syncloud/owncloud-setup/issues/22