Using resolved path for ungit-main  fix: #474
Having more strict isSubmodule detection. fix: #471
Taking out "path" in front end