MDL-42666 repository_boxnet: Do not run the upgrade multiple times