Fix migration provider
Merge pull request #312 from owncloud/migration

Fix migration provider