Fix typo in migration helper

Currently we have a typo in migration helper and that blocks upgrade
feature, because it fails on non-empty database.

Change-Id: I18186162635126f3c17ee9ae8f318bdb61693cd1
Closes-Bug: #1397981
Merge "Fix typo in migration helper"