The file path check is incorrect. It gives the main repository path to lazygit, not the submodule path. Lazygit itself can do well for the path-checking job, so just let lazygit deal with it. Symlink check functionality is kept. Signed-off-by: Avimitin <avimitin@gmail.com>