Issue #2249723 by andrei.dincu: XmlSitemapCustomAddForm check if path is valid in validateForm() method