Fixed a bug in register

Caught exception where Mozillian is not available during registration
process