#215: command/build: fixed a fatal bug about entries which is not finished