Define @{HOMEDIRS} before using it in @{HOME}
The old order is not really wrong / a bug because the order doesn't matter, but defining the variables it in the "right" order helps to prevent confusion.
Fixes: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1003158