Rebuild
If config.versionCode is omitted, repair() should do nothing (to fix #43)