[Core] It's better to use getcwd.