Update available_version docstring to standard
Merge pull request #3936 from russellballestrini/develop

Correct logic error, the if condition produces KeyError instead
Fix #3909
Verify that the name is a string, if not use the ID, fix #3845
get package info
check for one package
available_version should conform now
correct comparison function
debug version comparison
make version a string
make both numbers strings for comparison
return when only one package
return inside the if
stop comparing to itself
debugging
check explicit return code
let the loop continue if needed
skip if no package found
Now compare against the currently installed pkg
if pkg not installed, then skip it.