Make service repository try automatically backend then fallback to local