Fix bug when there is not configured keystone host

Change-Id: I374e808e52db7f015845ab1197bd21c00a9fd572