EZP-21959: Do washName() only outside of empty uri_part if(), as it can't be dirty inside it.