Make 'directory' parameter optional to workaroud supervisord bug

All of the long running processes I need to automate don't need to set a directory property. Without this check in place an empty `directory=` line is placed into the *.conf file - which causes supervisor to error out with ```couldn't chdir to : ENOENT```.