Fix for bug with folders adding

This commit fixes bug with folders adding: https://github.com/owncloud/mirall/issues/476