Make sure that scaffolded ManyToOne relationships without one part do no...

...t throw NullPointerException upon rendering

Tested on WildFly 8. Without the change I got the exception. With the change, the customer without parent renders correctly