Added retry logic for getting marketplaces

@julio