fix typo in templating None -> none.
fix dependencies to only be set if we specify a subnet (and hence a VPC).