Fix bug that wasn't properly detecting if the install package was installed through the tarball method.
Fix bug that wasn't properly detecting if the install package
was installed through the tarball method.

scalyr/scalyr-agent-2,scalyr/scalyr-agent-2,scalyr/scalyr-agent-2,imron/scalyr-agent-2,scalyr/scalyr-agent-2