workaround: prevent hapi, internal, implementation error

see https://github.com/hoodiehq/hoodie-server/pull/288#issuecomment-56018667

@svnlto could you review please?