Fix -y and ASSUME_ALWAYS_YES in pkg annotate

This is related to the test fixing in #957.
This should not be needed. It is set in src/globals.c set_globals(), called from main