core: Environment#cwd should expand path to full path