Fix another small issue in the migrate-cache2 script