Unsure exactly what your needs are,but a couple of thoughts come to mind...
You could disable collision detection when the teleport is active re activating it when it is clear of obstruction..
Or have an invisable sprite generated 50 pixels away...that detects a "clear space" and only allows it when clear...