More than £2 million promised to the museum by the previous government is in jeopardy.