Setting prefix to the empty string if our namespace is null or empty.

attn @vijaykramesh 

I'm setting it to the empty string instead of null, cause I'm worried some weird shit somewhere will blow up otherwise.