applying a fix for when trying to deploy to localdb instance
applying a fix for when trying to deploy to localdb instance

dsolodow/dbatools,Splaxi/dbatools,kozloski/dbatools,SirCaptainMitch/dbatools,wsmelton/dbatools,sqlpadawan/dbatools