return just the name of the command instead of a blank string.
debug output
in case there is only one library, check for the existence of 0.1/0.2 instead.