check that we're in a file before pushing the jump