not calling a real_path if path is empty