Fixed nil pointers

Fixed an issue where nil volumes were being added to the map when
specifying a volume without a source (deprecated behavior)