Allow VM_POST_SCRIPT to be undefined

If one leaves VM_POST_SCRIPT undefined, setupvm.sh will exit
prematurely due to a non-zero return value from basename.  This
patch only attemps to get the basename of the post script if
VM_POST_SCRIPT is defined.