Fix NPE inside onMediaDiscovered method (#20)

Signed-off-by: Jorge Ruesga <jorge@ruesga.com>