Updated provisioning profile search logic