Safety when a nil parameter is received to prevent exception throwing

Fixes #8 

Related: https://github.com/wordpress-mobile/WordPress-iOS/issues/1448