Make it possible to pass -q "metadata.field=value"

Currently the regex doesn't account for the "."

Change-Id: Ia01bb3e2a79e54fd01b0b6fa5437827694d4fb96
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>