Added conditional to exclude map from plugin output if there is no gpx