Handling for invalid path regex

 Fixing an issue where path processing fails on an invalid regex
Adding error information to the UI for path adding/editing