Fix python check.