Remove relative paths for import.