A jail sentence has been handed to an Oxfordshire man found guilty of trying to steal from a bank in London.