Perhaps then the answer is not to change the get_attachments_by_media_tags because it does do exactly what it was designed to do but rather to add a new function 'get_posts_by_media_tags' that would not assume that the content I am retrieving is an attachment.