Just tell the officer you are here for flag-polling to get an open work permit on the basis of a spouse's work permit.
Then may check your spouse's open work permit and let you know whether you are eligible or not.
Don't forget to carry documents like a pay stub, job offer letter and description.