Fixed a problem that could cause upgrade to vCloud Director 5.1 to fail with the following error: java.sql.SQLException: The INSERT statement conflicted with the FOREIGN KEY constraint "fk_roleright_to_role".