Updated logic for starting ODL to work with Karaf

Signed-off-by: Daniel Farrell <dfarrell@redhat.com>