Remove the '/build' part from the command variable