refactoring bits in package lookup
refactoring bits in package lookup

UCL/GreatCMakeCookOff,mbakthav/GreatCMakeCookOff,UCL/GreatCMakeCookOff,mbakthav/GreatCMakeCookOff,UCL/GreatCMakeCookOff,UCL/GreatCMakeCookOff,mbakthav/GreatCMakeCookOff,mbakthav/GreatCMakeCookOff