autostart/AutostartManager: actually get the HOME environment variable.

Looking for a variable in an empty list is not the best idea ever, and it broke the
autostart of applications in ~/.config/autostart.
0.38.
Merge branch 'master' into debian
0.38-1.