fix: allow creating directories without homedir

With this fix, ac can also create directories relative to the working
directory. This fixes xmaps for users without homedir set.