Fixed: _sw_command_running wasn't allowing for command line arguments

For example if `gpg-agent` was started with a `--daemonize` option, then
`_sw_command_running` would return false due to the fact that

    /my/path/gpg-agent --daemonize

doesn't match `/gpg-agent$`.
Changed: Made check for whether the GPG PID process was running clearer