Move these lines before `apt_update`, right next to the Erlang repositories, and remove the `apt_update` below.

There is no need to update repositories twice.