Use $installedVersion instead of $currentVersion

Additionally use 6.00.4 as the internal version has been changed
Merge pull request #7609 from owncloud/fix-updater-6

Use $installedVersion instead of $currentVersion