fix for BOSH agent boostrap and add more debugging information