Fix checking if node is installed