changed publicurl lookup strategy for glance