Fix install task check