Bug 1091084: Handle projects with broken refnames more gracefully. r=pmoore