A goat has been found not guilt in a Sydney court of eating flowers belonging to a museum.