Added missing || true to the ping check for apt-proxy
Added run reference since it's a command as long as War and Peace