A Note on partial 3-trees and homomorphism bases of graphs