ISSUE#466: Filter valid format only on volume type of 'file'

When volume type is block,
filter will prevent volume to be attached due to its format is 'unknown'.
Change the filter to only apply to 'file' type,
so that block will not be blocked.

Signed-off-by: Royce Lv <lvroyce@linux.vnet.ibm.com>