Cache the agent installer for pe_repo

This is not tested on versions <3.2.0, but as we aren't catching
download errors it should simply display warnings instead of failing.