Don't show 'try %paste' message while using magics

This pull request tries to fix the behavior described in #1661.