Update source /bin/agent commands to function like deb & redhat versions

Fixes issue #512, and brings the source agent commands more in line with the Debian and Red Hat versions.