to keep the _is_in_git function working have to locally put in _readlinkf function - not the best thing as now there are two copy/paste impmentations of that function... one in esg-node and the other in esg-functions... but this is a chicken or egg issue