Fix corner case where cached version of CPM was never updated.