So if I understand code it means, that unit without .service is not valid. In such case you should add here some logs how exactly id looks, so we see what service is not correctly named.