/usr/bin/updatedb might point to /etc/alternatives/updatedb which
points to another updatedb binary. When testing for precense of
/usr/bin/updatedb the test might fail because test(1) dereferences
symbolic links. So make sure to check existence of updatedb
binary inside $target using $ROOTCMD.