fix for checking packages that have a 'c' flag in aptitude (issues with git package)