I am (figuratively) literally scratching my head as to why a packfile routine would affect a config file write. All packfile_password("") should do is effectively set the global packfile password to a zero-length string. ....?
[edit] Oh, right allegro 4.4. That must be a bug they introduced since 4.2. Sneaky little buggers.