fix 500 error on registration
fix 500 error on registration

apache/allura,lym/allura-git,leotrubach/sourceforge-allura,apache/allura,heiths/allura,Bitergia/allura,lym/allura-git,apache/incubator-allura,Bitergia/allura,heiths/allura,Bitergia/allura,apache/incubator-allura,leotrubach/sourceforge-allura,apache/allura,apache/incubator-allura,Bitergia/allura,apache/allura,lym/allura-git,lym/allura-git,apache/allura,apache/incubator-allura,heiths/allura,Bitergia/allura,lym/allura-git,leotrubach/sourceforge-allura,heiths/allura,heiths/allura,leotrubach/sourceforge-allura