fix issue with path normalization if null