Normalize base path