Import.php: Use Config instead of globals

Change-Id: I4d1a8c443cfa360c5d388364c580d48fa7124099
Merge "Import.php: Use Config instead of globals"