I think this if can be removed since normalizePath always produces a leading /