Work around ubuntu's naming inconsistency.

Non release releases don't have a hiphen in the query file but do
in the filenames and paths.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>