Make sure /sbin and /usr/sbin is in PATH when collecting metadata.