Fixed bug at JPA-driver loading.

Change-Id: I2b66445da714e305e66febcec8caaa244913b8be
Signed-off-by: Marius <marius.oe@gmail.com>