uci: fix import with not yet existing packages, preserve config permissions on commit...