brace after 'package NAME' should be an open brace, not a close brace

- `package NAME VERSION` is ok.
- `package NAME;` is ok.
- `package NAME` is ok  (maybe something follows)
- `package NAME }` is a bug.

This fix address the last one so that it can parse `package NAME {` correctly.