FLEX-33713: An NPE is thrown by this code when compiling 'spark.swc' from the SDK. The null check bypasses the issue, it doesn't do anything to fix the root cause...

Signed-off-by: Erik de Bruin <erik@ixsoftware.nl>