Try to add test command; badly rejig environment setup.
-rwxr-xr-x 15468 cdist