Checking if imageTag == None before concatenation of string