Filter out empty strings from the list of swap partitions.