add try catch for missing package in old boto versions