Fixed possible NullPointerException when Bundle::getSymbolicName is not set
Changed if clause
Merge pull request #2490 from noctarius/osgi-fixed-2489-master

Fixed possible NullPointerException when Bundle::getSymbolicName is not ...