Use length to avoid unsupported operations with '>'
The dev_install.yaml script breaks when running python 3 because of
unsupported comparisions between 'AnsibleUnsafeText' and 'int' with the
This is very similar to a bug opened against ansible upstream . We
can fix the issue by using length explicitly, which ensures we're
comparing integers to integers since we're dealing with a list.