check_pkg used unnecesarily
manjaro profile installation got broken, because check_pkg is used to check for git and and manjaro-tools-iso-profiles. However, this function checks inside the chroot while host system should be checked for this.
We can write another function for this.