Implemented faster checking for AUR packages
Use os.basename to see if pacman is being used