compose-has-build: Use epoch if provided
If there is no epoch in the given argument, any epoch will match. If
epoch is given, it will really be used.
Merges: https://pagure.io/compose-utils/pull-request/81
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>