When building for Debian Unstable, we need a higher rebar3 version so it is compatible with the Erlang OTP version in the distribution. Get the version of rebar3 from the distribution via apt-cache and download it instead of hardcoding a version number.