Don't conf_mount_rw every time packages are listed
Don't conf_mount_rw every time packages are listed

Every time System:Packages is selected, the code does a conf_mount_rw, checks for existence of some dirs, then does conf_mount_ro. This makes navigating the package install GUI slow on nanobsd, and it is not needed.
Do is_dir checks first, then conf_mount_rw only if they need to be created. The is_dir function works fine on a read-only filesystem.
brunostein/pfsense,ch1c4um/pfsense,pfsense/pfsense,ptorsten/pfsense,pfsense/pfsense,NewEraCracker/pfsense,jxmx/pfsense,phil-davis/pfsense,pfsense/pfsense,NOYB/pfsense,ch1c4um/pfsense,NewEraCracker/pfsense,brunostein/pfsense,BlackstarGroup/pfsense,NOYB/pfsense,phil-davis/pfsense,ptorsten/pfsense,pfsense/pfsense,jxmx/pfsense,dennypage/pfsense,dennypage/pfsense,phil-davis/pfsense,jxmx/pfsense,NOYB/pfsense,NewEraCracker/pfsense,BlackstarGroup/pfsense,dennypage/pfsense,brunostein/pfsense,ch1c4um/pfsense,dennypage/pfsense,ch1c4um/pfsense,BlackstarGroup/pfsense,NewEraCracker/pfsense,BlackstarGroup/pfsense,phil-davis/pfsense,ptorsten/pfsense