Added a way to check the creds to see if its is an object or a location and handles it accordingly.

This strike-through joke doesn't make sense to me.  The standard approach is to use strike-through on a funny aside, then follow it with a "real" replacement.  E.g.:

> ...set to hide the devTag from you because ~~we don't like you~~ showing how to get the commit sha would make the examples more complicated.