improve exception string to contain valid release names (fix #27)