Fix bug 1208629, resorucepool add fail if your resourcepool is renamed from an exising one.