Detecting the path variable

First priority - Take the path provided
Fallback to extract from $PATH. Takes first occurrence in the order of $PATH
Replace the gst-switch-srv with a {} then do a;
```python
"""xxxxx""".format(os.path.join(path, "gst-switch-srv"))
```