Improve error messages
Empty command list is ok if the target has dependencies