fix packer installation issue
better mintleaf installation check