Fix bug 1294369 validate appmanager URL specified by user for add and modify