clean up XenServer resource code
avoid creating same primary storage multiple times for XenServer