Fix service-template.py doesn't honor -c parameter

Before this fix the config file path was forced.
This patch also check that the config file exists and
is correctly parsed.

Change-Id: I34c80e66be972a145a78e075710b53930790b598
Merge "Fix service-template.py doesn't honor -c parameter"