modules: firefox-profile: fix die() calls and minor fxes