fix error in check for whether ebs is already mounted or not