Update foam.package.ensurePackage to be more strict about the types it accepts.
Update foam.package.ensurePackage to be more strict about the types it accepts.

jacksonic/vjlofvhjfgm,jacksonic/vjlofvhjfgm,foam-framework/foam2,TanayParikh/foam2,TanayParikh/foam2,foam-framework/foam2,TanayParikh/foam2,foam-framework/foam2,foam-framework/foam2,TanayParikh/foam2,foam-framework/foam2,jacksonic/vjlofvhjfgm