fixing message when git/head is not available