Fix type error in sample code

Map[String,String].apply() doesn't return an option, Map[String,String].get does