correct condition for disk storage computation

closes: #2718
add missing dependency