Correct bug in reading aliases during piwik site registration.

Signed-off-by: Shai Sachs <ssachs@ngpvan.com>