Does spacecraft potential depend on the ambient electron density?