mifosx-567 fix externalId defaulting to blank string if not passed as a ...

...parameter