Fixed path_sysop(cwd_ancestordir,..) to always return directory with trailing
slash.
Authored by: dwarren 2014-04-01
Parent: [r7942]
Child: [r7944]