Nope.
Per UNHCR Guidelines on International Protection No. 14:
The term “directly” should be interpreted broadly and not necessarily in a literal
(geographical or temporal) sense. For Article 31(1) to apply, refugees are not required to have
come to the current host country without crossing through, stopping or staying in any other
intermediate country or countries after leaving the territory where their lives or freedom are
threatened.34 Mere transit in an intermediate country cannot be considered to interrupt “coming
directly”.
www.refworld.org