check_prereq: Make sure paste dir is dir

Thanks-to: Philip Eklöf <peklof@op5.com>
Signed-off-by: Carl Helmertz <chelmertz@op5.com>