[merge_graph_json.py] Fix bad prefix check

Series foo should pick up foo-*.json.gz, without foobar-*.json.gz