Show error when trying to publish something that's not a Chrome Apps or Extensions

fixed #2432

review: @devoncarew