Why does core path have a trailing slash but not extension directory?