package-user-dir needs to be set in .emacs.template

and not in custom-file.el via defcustom ...