Fix a divide by zero error seen when the number_of_users
function returns zero.
At issue is that 'users' only counts logins, and can miss
builds running under automation such as jenkins.
Add code to detect potential automation accounts, just
jenkins so far, and to always return a value greater than
zero.
Also adding a few .gitignore entries for files generated by
stx build related scripts.
Closes-bug: 1959606
Signed-off-by: Scott Little <scott.little@windriver.com>
Change-Id: I1369aa159088a17c24cc996be1ef2d36ecdc9cf6