abuild: fix check of maintainer address

Also disallow leading and trailing spaces/quotes.

fixes #10080
1 job for master in 34 seconds (queued for 2 seconds)