check for nil in the license location check
added tests

- use URI.schema instead of URI.class
changes
better check for non String values
Merge pull request #92 from yast/nil_check

Nil check in ProductLicense.rb
Merge remote-tracking branch 'origin/SLE-12-GA'