Bug 1007704 - Problem finding PID for NodeJS

https://bugzilla.redhat.com/show_bug.cgi?id=1007704

Fixed a problem when getting the supervisor pid