Fix ImageSpace relocation direction check. am: e37b791590 am: 0f09a9c43b
am: 09049007ff

Change-Id: I8d6f6c0d39e0449a5448437d2536925162e987eb