doc link fixes
fixed stringHelper dirname to return empty string

in case no dir is present