Rely on git instead of IMAGINE_VERSION by default
Remove newlines from variables