cleanup detect_squid_deb_proxy

- fix typo causing configuration not being written to /etc/apt
- move instructions to generated script instead of Dockerfile
- detect_squid_deb_proxy should exit with 0 even if it does not
  find a squid deb proxy on the given URI.