getopts: allow empty filter expressions

The getopts/1 quote function generated an invalid expression ("\"\"")
if a pcap filter was not set.