Fix disk size calculation

A crash occured if there is no or just a very tiny harddisk/stick attached