fix service url prefix checking

Signed-off-by: Michal Bínovský <michalbinovsky@outlook.com>