added $has_package, $has_aur_package, $has_filelist options, removed last new lines