Fix parameter in getDirectoryContent()

when httplib2 is not available.
deleteFromProject must not use artifact version

as we want to delete old artifacts no matter which version they have.