add null check for transport

transport will be null if !WorkerRunsOnThisEndpoint
Merge branch 'develop' into assemblyscanner
corrected obsolete attribute and spelling