Ensure paths are being properly expanded