Revert "Fix some warnings discovered by shellcheck"

This reverts commit 15e0ae6832a8b8aa6e396c625f1333d76952b5c1.

Conflicts:
	bin/install_agent.sh