directories, the last one was being used. However, the first one on the list should be used per man page: "The first path in the value of osimage.pkgdir must be the OS base pkg dir path,..." Fixing to use the first directory specified. Also fixed a bunch for formatting, space, tab issues...