A Blackburn nurse has been spared jail despite attempting to import nearly 40kg of cannabis through Birmingham Airport.