Thanks for testing and confirming the fix and the workaround!
There are nightly builds from the 5.4.x branch:
* http://deb.kamailio.org/#dev54
It is what you can use to get the fix in deb packages. There will be a 5.4.6 at some point, but for packaging pointing view that's just to have a milestone, because the packages for it are from the branch 5.4, exactly as it is done in the nightly ones.
You can also build debs locally, specs are in the `pkg/kamailio/deb/` folder.